Adwaita: fix backdrop insensitie flat button
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 15 Jul 2014 11:01:48 +0000 (13:01 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 15 Jul 2014 11:01:48 +0000 (13:01 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index b55d6683c8c43828cff14cad08af1dd531c36a67..f3f271509c2d46f97094d77998944415b3fa0da5 100644 (file)
@@ -284,7 +284,7 @@ GtkLabel {
       @include button(insensitive-active);
     }
   }
-  &.flat, &.flat:backdrop {
+  &.flat, &.flat:backdrop, &.flat:backdrop:insensitive {
     @extend %undecorated_button;
   }
   // big standalone buttons like in Documents pager
@@ -371,7 +371,7 @@ GtkLabel {
 // all the following is for the +|- buttons on inline toolbars, that way
 // should really be reprecated...
 .inline-toolbar GtkToolButton > .button { // redefining the button look is
-                                               // needed since those are flat...
+                                          // needed since those are flat...
   @include button(normal, $noedge: true); // the box-shadow outset doesn't work
                                           // in this case, hence $noedge
   &:hover { @include button(hover, $noedge: true); }
index a0747e3178f3fe6e08bf04e025f1bd307bcdc6d5..8334fe1062025a591b58b6b623a3d5ea43da5edb 100644 (file)
     border-radius: 3px;
     border-style: solid; }
 
-.button.flat, .button.flat:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover, .scale-popup .button:hover, .scale-popup .button:backdrop, .scale-popup .button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
+.button.flat, .button.flat:backdrop, .button.flat:backdrop:insensitive, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover, .scale-popup .button:hover, .scale-popup .button:backdrop, .scale-popup .button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
   border-color: transparent;
   background-color: transparent;
   background-image: none;
index 0a3563f38905dffb248d0ad890cbab4267e63b6b..21845c4c737c919829511d7ed46447ff00463413 100644 (file)
     border-radius: 3px;
     border-style: solid; }
 
-.button.flat, .button.flat:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover, .scale-popup .button:hover, .scale-popup .button:backdrop, .scale-popup .button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
+.button.flat, .button.flat:backdrop, .button.flat:backdrop:insensitive, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover, .scale-popup .button:hover, .scale-popup .button:backdrop, .scale-popup .button:backdrop:hover, .scale-popup .button:backdrop:insensitive {
   border-color: transparent;
   background-color: transparent;
   background-image: none;